<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/page/base.jsp"%>
<%
	String basepath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort() + "/";
    String appId=request.getParameter("appId");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<script type="text/javascript" src="<%=path%>/manage/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
			    $.get(root + '/produce/getLastAndroidDownUrl.action',{'appId': <%=appId%>},function(data){
			    	if(data=="")
			    		$("#errorMsg").html("获取地址错误，请稍后重试");
			    	else
			    		window.location.href = data;
			    });
			});
		</script>
	</head>
	<body>
		<div id="errorMsg"></div>
	</body>
</html>
